<%@ page title="" language="C#" masterpagefile="~/RealtimeSite.master" autoeventwireup="true" inherits="HolidayList, App_Web_odyrwiur" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <style type="text/css">

.green-colour{
background-color:#8dc234;
font-family:Tahoma;
font-size:17px;
padding-left:4px;
color:#ffffff;
margin:2px;
text-decoration:none;
font-weight:bold;
}
.user{
font-family:Tahoma;
font-size:12px;
color:#124c56;
margin:4px;
text-decoration:none;
}
        .style1
        {
            font-family: verdana;
            color: #050505;
            font-size: 11px;
            line-height: 15px;
            text-align: left;
        }
        .style3
        {
            font-family: Verdana;
            font-size: 9pt;
            font-weight: 700;
        }
                     .card [class*=card-header-]:not(.card-header-icon):not(.card-header-text):not(.card-header-image) {
    border-radius: 3px;
      margin-top: -37px;
    padding: 7px !important;
}
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    padding: 8px 8px !important;
    vertical-align: middle;
    border-color: #ddd;
}
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    
    
    
  
    <br />
        <br />
    <%--<asp:Label ID="lblmsg" runat="server" Font-Bold="True" Font-Size="13pt" 
        ForeColor="#0099CC" Text="Holiday List"></asp:Label>--%>
   <br />
            <div class="main-panel">
        <div class="content">
        <div class="container" id="Holidaylist" runat="server">  

<div class="row dash-pane2" style="margin-top:102px !important;">
<div class="card">
                <div class="card-header card-header-warning" id="cardheadergreen" runat="server">
                  <h4 class="card-title"><i class="fa fa-list fa-fw"></i> <asp:Label ID="lblListofHoliday" runat="server" Text="List of Holiday"></asp:Label></h4>
  
                </div>
                <div class="card-body table-responsive" style="margin-bottom:150px;">
                  <asp:GridView ID="Grid1" runat="server"  ShowHeaderWhenEmpty="True" class="table table-bordered table-hover table-striped"
          AutoGenerateColumns="False" CellPadding="3" DataKeyNames="HolidayId" >
         
          <Columns>
              <asp:TemplateField HeaderText="Select">
                  <HeaderStyle CssClass="tdsubcellheadingfont" ForeColor="Black" Height="21px" Width="30px" />
                  <ItemTemplate>
                      <asp:CheckBox ID="cbRows" runat="server" />
                  </ItemTemplate>
                     
              </asp:TemplateField>
              <asp:HyperLinkField DataNavigateUrlFields="HolidayId" 
                  DataNavigateUrlFormatString="Holiday.aspx?RowId={0}" ControlStyle-ForeColor="#006699"
                  DataTextField="HolidayName" HeaderText="Holiday Name" 
                  SortExpression="HolidayName">
            
              </asp:HyperLinkField>
              <asp:BoundField DataField="HolidayDate" HeaderText="Holiday date" SortExpression="HolidayDate">
                
            </asp:BoundField>
            
           </Columns>
         
      </asp:GridView>
                </div>
              </div>	
              <div class="row" style="margin-left:auto; margin-right:auto; display:table; margin-top:0px;">
                  <asp:Button ID="BtnAdd" runat="server" Text="Add " onclick="BtnAdd_Click" 
        type="button" class="btn btn-success " /><i class="fa fa-plus;"></i>&nbsp;&nbsp;
        <asp:Button ID="BtnCancel" runat="server" type="button" Text="Delete" onclick="BtnCancel_Click" 
           class="btn btn-danger"
           /><i  class="fa fa-trash-o;"></i>&nbsp;&nbsp;
        <asp:Button ID="Button1" runat="server" 
            Text="Close" class=" btn btn-danger"
            onclick="Button1_Click"  /><i></i>
              </div>
					
				</div>
                </div>
                </div>
                </div>
                 <script src="js/jquery-1.8.3.min.js"
       type="text/javascript"></script>
</asp:Content>
